package cn.desk.faq.service.impl;

import cn.desk.commons.service.impl.BaseServiceImpl;
import cn.desk.faq.entity.Faq;
import cn.desk.faq.service.IFaqService;

public class FaqServiceImpl<T extends Faq> extends BaseServiceImpl<T> implements
		IFaqService<T> {
	public void add(T t) throws cn.desk.commons.exception.DeskException {
		Integer id = getNextId(Faq.class);
		t.setId(String.valueOf(id));
		super.add(t);
	}
}
